package com.ruoyi.project.platform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单明细对象 plt_user_order_detail
 * 
 * @author ruoyi
 * @date 2020-07-27
 */
public class PltUserOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细id */
    private Long detailId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 服务id */
    @Excel(name = "服务id")
    private Long serviceId;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 服务类型 */
    @Excel(name = "服务类型")
    private String serviceType;

    /** 服务类别 */
    @Excel(name = "服务类别")
    private String serviceCategory;

    /** 服务状态 */
    @Excel(name = "服务状态")
    private String serviceStatus;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serviceName;

    /** 到期时间 */
    @Excel(name = "到期时间")
    private Long expireTime;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Long createdTime;

    public void setDetailId(Long detailId) 
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setServiceType(String serviceType) 
    {
        this.serviceType = serviceType;
    }

    public String getServiceType() 
    {
        return serviceType;
    }
    public void setServiceCategory(String serviceCategory) 
    {
        this.serviceCategory = serviceCategory;
    }

    public String getServiceCategory() 
    {
        return serviceCategory;
    }
    public void setServiceStatus(String serviceStatus) 
    {
        this.serviceStatus = serviceStatus;
    }

    public String getServiceStatus() 
    {
        return serviceStatus;
    }
    public void setServiceName(String serviceName) 
    {
        this.serviceName = serviceName;
    }

    public String getServiceName() 
    {
        return serviceName;
    }
    public void setExpireTime(Long expireTime) 
    {
        this.expireTime = expireTime;
    }

    public Long getExpireTime() 
    {
        return expireTime;
    }
    public void setCreatedTime(Long createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Long getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("serviceId", getServiceId())
            .append("userName", getUserName())
            .append("serviceType", getServiceType())
            .append("serviceCategory", getServiceCategory())
            .append("serviceStatus", getServiceStatus())
            .append("serviceName", getServiceName())
            .append("expireTime", getExpireTime())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
